Skip to content

fix: upgrade GitHub Actions to Node 24 and fix corepack blocking npm - #33

Merged
BYK merged 1 commit into
masterfrom
fix/ci-node20-deprecation
May 18, 2026
Merged

BYK merged 1 commit into
masterfrom
fix/ci-node20-deprecation

Conversation

@BYK

@BYK BYK commented May 18, 2026

Copy link
Copy Markdown
Owner

Summary

Fixes the publish workflow failure at "Upgrade npm for OIDC trusted publishing" and eliminates Node.js 20 deprecation warnings across all workflows.

Changes

  • Fix corepack blocking npm in publish workflow: Adds corepack disable before npm install -g npm@latest. Corepack (bundled with Node 22) was intercepting the npm command and blocking it because package.json declares packageManager: pnpm@10.28.0.
  • Upgrade all GitHub Actions to Node 24 runtime versions:
    • actions/checkout v4 → v6
    • actions/create-github-app-token v1 → v3
    • actions/setup-node v4 → v6
    • actions/upload-artifact v4 → v7
    • codecov/codecov-action v5 → v6

This eliminates the warning: "Node.js 20 actions are deprecated... Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026."

- Upgrade actions/checkout v4 -> v6
- Upgrade actions/create-github-app-token v1 -> v3
- Upgrade actions/setup-node v4 -> v6
- Upgrade actions/upload-artifact v4 -> v7
- Upgrade codecov/codecov-action v5 -> v6
- Add corepack disable before npm install in publish workflow

All upgraded actions run on Node.js 24, eliminating the Node.js 20
deprecation warnings. The corepack disable fixes the publish failure
where corepack blocks npm because packageManager is set to pnpm.
@BYK BYK self-assigned this May 18, 2026
@BYK
BYK merged commit e5506bd into master May 18, 2026
4 checks passed
@BYK
BYK deleted the fix/ci-node20-deprecation branch May 18, 2026 23:10
@craft-deployer craft-deployer Bot mentioned this pull request May 19, 2026
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant